<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
  </head>
  <body>
    <div class="Top_ts">
	<div class="Cw1280">
    	<div class="logo_t"><img src="<?php echo image_path('logo.png'); ?>" width="133" height="30"></div>
        <div class="sre_t"><form action="" method="post">
        	<input type="text" placeholder="文章、课程、育儿困难" name="" class="int">
            <input type="submit" value="" name="" class="ins">
        </form></div>
        <div class="tw_a"><a href="">提问</a></div>
        <ul class="nav_menu">
        	<li><a href="<?php echo url_for('default/index'); ?>" class="<?php include_slot('index'); ?>">首页</a></li>
            <li><a href="<?php echo url_for('worry/index'); ?>" class="<?php include_slot('worry'); ?>">烦恼</a></li>
            <!--<li><a href="">活动</a></li>-->
            <li><a href="<?php echo url_for('theme/index'); ?>" class="<?php include_slot('theme'); ?>">话题</a></li>
            <!--<li><a href="">消息</a></li>-->
            <li><a href="">手机APP</a></li>
        </ul>
        <div class="t_link">
            
        <?php if($sf_user->isAuthenticated()): ?>
            您好，<?php echo $sf_user->getAttribute('nick_name',$sf_user->getAttribute('phone')); ?>，<a href="<?php echo url_for('user/logout'); ?>">退出</a>
            <?php else: ?>
            <a href="<?php echo url_for('user/login'); ?>">请登录</a>&nbsp;|&nbsp;<a href="<?php echo url_for('user/reg'); ?>">免费注册</a>
            <?php endif; ?>
        </div>
    </div>
</div>
<div class="h3pxline"></div>
<div class="W100p mainptn">
    <?php echo $sf_content; ?>
</div>
<!--底部-->
<div class="Footer">
	<div class="Cw1280">
    	<div style="float:left;">&copy; 2015 壹童学在线教育 上海有学教育科技有限公司版权所有 沪ICP备14052831号-1</div>
        <div style="float:right;"><a href="">关于壹童学</a>　<a href="">投资洽谈</a>　<a href="">建议反馈</a>　<a href="">加入有学</a>　<a href="">商务合作</a></div>
    </div>
</div>
  </body>
</html>
